package splash.core.connection;
/*

I grew up.

public class ResponseCode
{
	public static final int OK = 11;
	public static final int NOT_FOUND  = 12;
	public static final int NOT_PREMITTED = 13;
	public static final int BAD_LOGIN  = 14;
	public static final int BAD_REQUEST = 15;
	public static final int NO_SESSION  = 16;
	public static final int REQUEST_TOO_LONG = 17;
}
*/
public enum ResponseCode
{
	OK(11),
	NOT_FOUND(12),
	NOT_PREMITTED(13),
	BAD_LOGIN(14),
	BAD_REQUEST(15),
	NO_SESSION(16),
	REQUEST_TOO_LONG(17),
        NOT_IMPLEMENTED(18),
        FAILED(19);

        int value;

        ResponseCode(int i)
        {
            value = i;
        }

        @Override
        public String toString()
        {
            return "" + value;
        }

}